<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2021/12/14
  Time: 0:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>


<el-dialog
        v-model="updateCreditCard.isShow"
        title="修改信用卡信息"
        width="450"
        destroy-on-close
        center
>
    <el-card>
        <el-divider content-position="left">修改信用卡信息:</el-divider>
        <el-form label-width="100">
            <el-form-item label="信用卡卡号:">
                <el-input type="text" v-model="updateCreditCard.CreditCardNum" disabled/>
            </el-form-item>
            <el-form-item label="信用卡欠款:">
                <el-input-number v-model="updateCreditCard.CreditCardPrice" :precision="2" :step="0.1"/>
            </el-form-item>
            <el-form-item label="还款日期:">
                <el-date-picker v-model="updateCreditCard.CreditCardTime"
                                type="date"
                                value-format="YYYY-MM-DD"
                                placeholder="选择还款日期"
                >
                </el-date-picker>
            </el-form-item>
            <el-form-item label="银行名称:">
                <el-select v-model="updateCreditCard.BankId" placeholder="Select">
                    <el-option
                            v-for="(item,index) in BankMsgAll"
                            :key="index"
                            :label="item.bankName"
                            :value="item.bankId"
                    >
                    </el-option>
                </el-select>
            </el-form-item>
            <el-form-item label="是否还款:">
                <el-select v-model="updateCreditCard.isPay" placeholder="Select">
                    <el-option
                            label="未还款"
                            :value="1"
                    >
                    </el-option>
                    <el-option
                            label="以还款"
                            :value="2"
                    >
                    </el-option>
                </el-select>
            </el-form-item>
            <el-form-item>
                <el-button style="width: 100%" @click="updateUserCreditCard">确认修改</el-button>
            </el-form-item>
        </el-form>
    </el-card>
</el-dialog>

<link rel="stylesheet" href="${pageContext.request.contextPath}/css/center/addCreditCard.css">
